package com.mapper.Hua;

import com.pojo.Hua.*;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface MaterialWarehouseOutMapper {
    List<HuaMaterialOutWarehouse> getOutWarehouse();
    //需求数量
    OutEveryView getNeedEvery();
    //查仓库量
    HuaMaterialWarehouse getWarehouseNums(Long materialId,Long materialPly);
    //添加原材料订单
    int addNeedOrder(HuaNeedOrder huaNeedOrder);
    //得到所有满足的批号
    List<HuaMaterialWarehouse> getBath(Long materialId,Long materialPly);
    //添加数据，减少批次量
    int addOutWar(String productionOrderCode,Long materialId,Long plyId,Long materialNums,Long staffId);

    int setWarehouseOutLogic(String minTimeCode);

}
